package com.luo.wheresmytakeaway.mapper;


import com.luo.wheresmytakeaway.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user where phone = #{phone} and password = #{password} and status != 0")
    User login(User users);
}
